from stic.services.models import Service
from django.contrib import admin

# admin.site.register(Service)

#class NewServiceLayaout(admin.ModelAdmin):
#	fields = ['description','name']
#admin.site.register(Service, NewServiceLayaout)


class NewServiceLayaout(admin.ModelAdmin):
	fieldsets = [
		(None,		{'fields': ['description']}),
		('Denominacion del Servicio', {'fields': ['name'], 'classes': ['collapse']}),
	]
	list_display = ('name','description')
	list_filter = ['name']
	search_fields = ['description']
admin.site.register(Service, NewServiceLayaout)

